body {
    margin: 0;
    font-family: Arial, Helvetica, 'Microsoft Yahei'sans-serif;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

// pagelist flex
.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.padded {
    padding: 1rem;
}

// 去除移动端点击时元素产生的背景色
button {
    -webkit-tap-highlight-color: transparent;
}

// 取消a标签在移动端点击时的蓝色
a {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-user-select: none;
    -moz-user-focus: none;
    -moz-user-select: none;
}

// 使用图片作为a标签的点击按钮时，当触发touchstart的时候，往往会有一个灰色的背景
a,
a:hover,
a:active,
a:visited,
a:link,
a:focus {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    outline: none;
    background: none;
    text-decoration: none;
}

.btn {
    // border: none;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    color: #fff;
    border: 1px #5dd5c8 solid;
    background: #5dd5c8;
}

.container {
    // homePage
    .home_header {
        background: url('../images/home-bg.png') no-repeat;
        background-size: 100% auto;
        text-align: center;
        padding-bottom: 1rem;
        img {
            width: 60%;
            margin: 2rem;
        }
        form {
            background: #fff;
            width: 90%;
            margin: 0 auto;
            line-height: 2rem;
            border-radius: 2rem;
            ;
            input {
                width: 75%;
                border: none;
                background: #fff;
                outline: none;
                color: #aeaeae;
                font-size: 0.9rem;
            }
            button {
                border: none;
                background: none;
                font-size: 0.9rem;
                color: #5bd4c7;
                a {
                    color: #5bd4c7;
                }
            }
        }
    }
    .home_categories {
        padding: 0 1rem;
        dl {
            padding-top: 1.2rem;
            padding-bottom: 1rem;
            border-bottom: 0.1rem solid #f5f8f9;
            dt {
                display: flex;
                align-items: center;
                margin-bottom: 1.2rem;
                img {
                    height: 3rem;
                    margin-right: 1rem;
                }
                div {
                    color: #333;
                }
            }
            dd {
                margin: 0 -0.4rem;
                .tag {
                    padding: 0.5rem 1rem;
                    font-size: 0.8rem;
                    color: #7e8793;
                    background: #f5f8f9;
                    border-radius: 2rem;
                    margin: 0.2rem 0.4rem;
                    display: inline-block;
                }
            }
        }
    }
    .home_footer {
        margin: 0 auto;
        width: 70%;
        font-size: 0.8rem;
        color: #7e8793;
        p {
            margin: 0.5rem 0;
        }
    }
    // listPage
    .list_header {
        padding: 0.8rem 1rem;
        img {
            height: 1.2rem;
        }
        form {
            width: 100%;
            .inner {
                width: 100%;
                background-color: #f4f7f9;
                margin: 0 1rem;
                line-height: 1.7rem;
                border-radius: 2rem;
                padding: 0 1rem;
                input {
                    width: 80%;
                    background: transparent;
                    color: #8b96a6;
                    border: none;
                    outline: none;
                }
                span {}
            }
            button {
                border: none;
                background: none;
                font-size: 0.9em;
                color: #5bd4c7;
                flex-shrink: 0;
                padding: 0;
                a {
                    color: #5bd4c7;
                }
            }
        }
    }
    .list_filter {
        padding: 0.5em 1rem;
        border: 1px solid #aaa;
    }
    .list_filter dl,
    .list_filter dd {
        margin: 0;
    }
    .list_filter dt {
        font-size: 0.8rem;
    }
    .list_filter .active dt {
        color: skyblue;
    }
    .list_filter dd {
        display: none;
    }
    .list_filter .active dd {
        display: none;
        // display: block;
        background: rgba(0, 0, 0, .3);
        width: 100%;
        height: 100vh;
        position: absolute;
        top: 89px;
        left: 0;
    }
    .list_filter .active dd ul {
        margin: 0;
        padding: 0;
        background: #fff;
        list-style: none;
    }
    .list_filter .active dd li {
        line-height: 3.5rem;
        text-indent: 1rem;
    }
    .list_filter .active dd .active {
        background: #f5f8f9;
        color: #333;
    }
    .list_filter dt:after {
        content: '';
        display: inline-block;
        width: 4px;
        height: 4px;
        border: 1px solid #999;
        margin-left: 0.5rem;
        border-style: solid none none solid;
        transform: rotate(225deg);
        transform-origin: 2px 1px;
        margin-left: 0.5rem;
        transition: all .4s;
    }
    .list_filter .active dt:after {
        transform: rotate(45deg);
    }
    .job_list {
        padding: 0;
        margin: 0;
    }
    .job-item {
        padding: 1rem;
        border-bottom: 1px solid #aeaeae;
    }
    .job-item>img {
        height: 3.5rem;
        border-radius: 0.3rem;
    }
    .job-item .text {
        width: 100%;
        margin-left: 1rem;
    }
    .job-item .title {
        color: #333;
    }
    .job-item .salary {
        color: #fc6c38;
        font-size: 1.2rem;
    }
    .job-item .company {
        color: #333;
        font-size: 0.8rem;
        margin: 0.2rem 0;
    }
    .job-item .props {
        font-size: 0.8rem;
        color: rgb(160, 155, 155);
    }
    .job-item .props span {
        margin-right: 1rem;
    }
    // detailPage
    .top-bar img {
        height: 1.2rem;
    }
    .top-bar form {
        width: 40%;
        border: 1px solid #5bd4c7;
        border-radius: 2rem;
        padding: 0 0.5rem;
    }
    .top-bar form input {
        width: 80%;
        border: none;
        background: none;
        line-height: 1.5rem;
        color: #aaa;
        outline: none;
        font-size: 0.9rem;
    }
    .top-bar form button {
        border: none;
        background: url('../images/icons.png') no-repeat top center;
        background-size: 100% auto;
        display: inline-block;
        width: 1rem;
        height: 1rem;
    }
    .job-info {
        background: #62d5c8;
        color: #fff;
    }
    .job-info title {
        font-size: 1.2rem;
    }
    .job-info .props {
        font-size: 0.8rem;
        margin: 0.5rem 0;
    }
    .job-info .props .items i {
        display: inline-block;
        width: 1px;
        height: 0.8rem;
        background: #fff;
        margin: 0 0.5rem;
    }
    .job-info .tags span {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
        border-radius: 2rem;
        border: 1px solid #fff;
    }
    .user-info {
        background: #ddd;
    }
    .user-info>img {
        height: 3.5rem;
        border-radius: 3.5rem;
    }
    .user-info>button {
        background: #62d5c8;
        color: #fff;
        flex-shrink: 0;
    }
    .user-info .name {
        color: #414a60;
        padding: 1rem 0;
    }
    .user-info .name .like {
        font-size: 0.8rem;
        color: #fb7042;
    }
    .user-info .dsc {
        font-size: 0.8rem;
        color: #9fa3af;
    }
    .user-info .info {
        width: 40%;
        margin: 0 1rem;
    }
    .job-detail h3 {
        color: #414a60;
        font-weight: 700;
        position: relative;
        line-height: 2.5rem;
        font-size: 0.9rem;
    }
    .job-detail h3:after {
        content: '';
        width: 0.9rem;
        height: 1px;
        background-color: #62d5c8;
        position: absolute;
        left: 0;
        bottom: 0;
    }
    .job-detail .text {
        padding-top: 0.3rem;
        font-size: 0.9rem;
        line-height: 1.5rem;
        color: #7e8793;
    }
    .job-detail .tags {
        margin-top: 1rem;
    }
    .job-detail .tags span {
        border: 1px solid #62d5c8;
        border-radius: 1rem;
        padding: 0.2rem 0.5rem;
        font-size: 0.9rem;
        color: #62d5c8;
        display: inline-block;
        margin-bottom: 0.5rem;
        margin-left: 1rem;
    }
    .job-detail .text table {
        border: 1px solid #ebecef;
        font-size: 0.7rem;
        padding: 0.7rem;
        width: 100%;
    }
    .job-detail .text table td {
        width: 50%;
    }
    .job-detail .text .business {
        font-size: 0.7rem;
        color: #9fa3b0;
        padding-top: 0.5rem;
    }
    .company-info {
        background: #eefbf9;
    }
    .company-info>img {
        height: 3.5rem;
        border-radius: 0.3rem;
    }
    .company-info .info {
        width: 100%;
        margin-left: 1rem;
    }
    .company-info .info .name {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
        color: #333
    }
    .company-info .info .name button {
        color: #fff;
        background-color: #5dd5c8;
    }
    .company-info .info p {
        font-size: 0.8rem;
        color: #414a60;
    }
    .company-info .info .tags {
        justify-content: flex-start;
    }
    .company-info .info .tags i {
        font-size: 0.75rem;
        display: inline-block;
        width: 1px;
        height: 0.8rem;
        background: #ccc;
        margin: 0 0.5rem;
    }
    .related-jobs h3 {
        font-size: 0.8rem;
        color: #767f96;
        font-weight: 400;
        padding: 0.5rem 1.1rem;
        border-bottom: 1px solid #eee;
    }
    .job_list ul {
        list-style: none;
    }
    .job_list ul li>a {
        margin: 0;
        border-top: 1px solid #eee;
    }
    .job_list ul li>a .btn {
        border: 1px #5dd5c8 solid
    }
    .related-companies h3 {
        color: #767f96;
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    .related-companies {
        padding: 0.9rem 1.1rem 0.6rem;
    }
    .related-companies .tags a {
        color: #9fa3b0;
        font-size: 0.8rem;
        margin-right: 0.9rem;
        display: inline-block;
    }
    .job-footer {
        padding: 0.9rem 1.1rem;
        color: #9fa3b0;
        font-size: 0.7rem;
        line-height: 1.5rem;
    }
    .breadcrum-nav i {
        display: inline-block;
        width: 6px;
        height: 6px;
        border: 1px solid #9fa3b0;
        border-style: solid solid none none;
        transform-origin: 4px 2px;
        transform: rotate(45deg);
    }
    .breadcrum-nav a {
        color: #9fa3b0;
        margin: 0.2rem;
    }
}